From 383dbc16f4d92cf8430ccd82f2e61527d17ca299 Mon Sep 17 00:00:00 2001 From: "dan@guaranine.beaverton.ibm.com" Date: Mon, 5 Dec 2005 15:36:11 +0000 Subject: [PATCH] Output an explicit newline before the "REASON:" string so the report script can find it, even when a domain outputs a non-newline-terminated line. Signed-off-by: Dan Smith --- tools/xm-test/lib/XmTestLib/Test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/xm-test/lib/XmTestLib/Test.py b/tools/xm-test/lib/XmTestLib/Test.py index 4d8bb41c47..8f0f58df3f 100644 --- a/tools/xm-test/lib/XmTestLib/Test.py +++ b/tools/xm-test/lib/XmTestLib/Test.py @@ -131,11 +131,11 @@ def becomeNonRoot(): FAIL("Could not become a non-root user") def FAIL(reason): - print "REASON: %s" % reason + print "\nREASON: %s" % reason sys.exit(TEST_FAIL) def SKIP(reason): - print "REASON: %s" % reason + print "\nREASON: %s" % reason sys.exit(TEST_SKIP) def saveLog(logText, filename=None): -- 2.30.2